const routes = [
    {
        path: '/',
        redirect: '/home',
    },
    {
        path: '/home',
        component: resolve => require(["./components/manage/Home.vue"], resolve),
    },
    {
        path: '/activity',
        component: resolve => require(["./components/activity/Activity.vue"], resolve),
    },
    {
        path: '/goods',
        component: resolve => require(["./components/activity/Goods.vue"], resolve),
    },
    {
        path: '/statistics',
        component: resolve => require(['./components/activity/Statistics.vue'], resolve),
    },
    {
        path: '/users',
        component: resolve => require(['./components/manage/Users.vue'], resolve),
    },
    {
        path: '/rules',
        component: resolve => require(['./components/activity/Rules'],resolve),
    },
    {
        path: '/orders',
        component: resolve => require(['./components/laifei/Orders'],resolve),
    },
    {
        path: '/vip',
        component: resolve => require(['./components/laifei/Vip'],resolve),
    },
    {
        path: '/talent',
        component: resolve => require(['./components/laifei/Talent'],resolve),
    },
    {
        path: '/explore',
        component: resolve => require(['./components/laifei/Explore'],resolve),
    },
    {
        path: '/work',
        component: resolve => require(['./components/laifei/Work'],resolve),
    },
    {
        path: '/hangup',
        component: resolve => require(['./components/laifei/HangUp'],resolve),
    },
    {
        path: '/shop',
        component: resolve => require(['./components/laifei/Shop'],resolve),
    },
    {
        path: '/shop/keeper',
        component: resolve => require(['./components/laifei/ShopKeeper'],resolve),
    },
    {
        path: '/mine',
        component: resolve => require(['./components/mine/Mine'],resolve),
    },
    {
        path: '/setting/template',
        component: resolve => require(['./components/setting/Template'],resolve),
    },
    {
        path: '/setting/logs',
        component: resolve => require(['./components/setting/Logs'],resolve),
    },
    {
        path: '/settlement/explore',
        component: resolve => require(['./components/settlement/SettlementExplore'],resolve),
    },
    {
        path: '/settlement/proxy',
        component: resolve => require(['./components/settlement/Proxy'],resolve),
    },

];

export default routes;

